package edu.kjxy.day01.t8;

/**
 * 功能:
 * 作者:程序员欧阳子韩
 * 日期:2024/1/31 19:30
 */
public class MyThread extends Thread {
    @Override
    public void run() {
        try {
            System.out.println("run threadName=" + this.currentThread().getName() + "begin");
            Thread.sleep(2000);
            System.out.println("run threadName=" + this.currentThread().getName() + "end");
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
